import React from 'react'
import { ProForm, ProFormText } from '@ant-design/pro-components'

const LoginForm = () => (
  <ProForm title="登录" initialValues={{ remember: true }} onFinish={values => console.log(values)}>
    <ProFormText name="username" label="用户名" placeholder="请输入用户名" />
    <ProFormText.Password name="password" label="密码" placeholder="请输入密码" />
  </ProForm>
)

export default LoginForm
